    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: Arial, sans-serif;
      
    }

    nav {
      background-color: #303030;
      color: white;
      background-image: url("images/crane banner.png");
     position: sticky;
     top: 0;
     z-index: 999;


    }

    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      flex-wrap: wrap;
      margin-right: 70px;
    }
        .navbar::before {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-color: rgba(0, 0, 0, 0.848); /* Black overlay with transparency */
      z-index: 0;
    }


    .navbar .logo {
      font-size: 1.5em;
      font-weight: bold;
    }

    .navbar ul {
      display: flex;
      list-style: none;
      gap: 30px;


    }

    .navbar ul li {
      position: relative;
      font-size: 18px;


    }

    .navbar ul li a {
      display: block;
      padding: 10px 15px;
      color: white;
      text-decoration: none;
    }

    .navbar ul li:hover {
      background-color: #444;
    }

    .navbar ul li ul {
      display: none;
      position: absolute;
      background-color: #444;
      top: 100%;
      left: 0;
      min-width: 180px;
      z-index: 1000;
    }

    .navbar ul li:hover ul {
      display: block;
    }

    .navbar ul li ul li a {
      padding: 10px;
      white-space: nowrap;
    }

    /* Hamburger Styles */
    .menu-toggle {
      display: none;
      font-size: 1.5em;
      cursor: pointer;
    }

    @media (max-width: 768px) {
      .menu-toggle {
        display: block;
        color: white;
      }

      .navbar ul {
        display: none;
        width: 100%;
        flex-direction: column;
      }

      .navbar ul.active {
        display: flex;
      }

      .navbar ul li {
        width: 100%;
      }

      .navbar ul li ul {
        position: static;
      }
    }

    .hero-section {
  background-image: url("images/Contact.png");
  
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  color: white;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 60px 40px;
  position: relative;
 justify-content: center;
 align-items: center;
 text-align: center;


}

    /* Black Overlay */
    .hero-section:before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background-color: rgba(42, 42, 42, 0.437); /* Black with 80% transparency */
      z-index: 1;
    }





.hero-content h1 {
  font-size: 80px;
  color: #000000;
  font-weight: 900;
  margin-top: 20px;
  font-family: 'Montserrat', sans-serif;
 
}
.hero-content h4 {
  font-size: 30px;
  color: #000000;
  font-weight: 900;
  margin-top: 20px;
  font-family: 'Montserrat', sans-serif;
 
}
.btn1{
    background-color: #000000;
  color: #fff;
 padding:10px 15px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 17px;
  margin-top: 20px;
    

}
.btn1:hover{
  background-color: white;
  color: #333;
}

    @media (max-width: 480px) {
      .hero-content h1 {
        font-size: 1.5em;
      }
    }
    /* Optional extra content */
    .content {
      padding: 50px 20px;
      text-align: center;
    }

/* --- Layout wrapper --- */
.contact-boxes{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 1rem;
  background-color: #ebeaea;
  
  

}
    .con-h1{
        text-align: center;
         font-size: 42px;
         background-color: #ebeaea;
         padding-top: 50px;
         color: #000000;
          
          
          

    }
    .con-h3{
      text-align: center;
     font-size: 20px;
    background-color: #ebeaea;
     padding-top: 20px;
     color: #303030;



 }


/* --- Card --- */
.box{
  flex: 1 1 260px;      /* grows but never shrinks below 260 px */
  max-width: 400px;
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transition: transform .35s ease, box-shadow .35s ease;
  /* fade‑up intro */
  opacity: 0;
  transform: translateY(35px);
  animation: fadeUp .8s forwards ease;
}

/* stagger the entrance */
.box:nth-child(2){animation-delay:.15s;}
.box:nth-child(3){animation-delay:.3s;}

/* icon */
.box i{
  font-size: 2.6rem;
  color: #1d1d1e;
  margin-bottom: 1rem;
  

  font-size: 40px;
}

/* hover effect */
.box:hover{
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  border:2px solid black;;
}
.box h3{
    font-size: 23px;
    margin-bottom: 10px;
}
.box p{
    line-height: 1.5;
}

/* keyframes */
@keyframes fadeUp{
  to{opacity:1; transform:translateY(0);}
}

/* --- Responsive tweak --- */
@media(max-width:600px){
  .contact-boxes{flex-direction: column;}
}

  .contact-wrapper{
    display:flex;
    flex-wrap:wrap;          /* allow stacking on small screens */
    gap:2rem;
    max-width:1000px;
    margin-top: 40px;
    margin-left: 125px;
    padding:2rem 1rem;
    box-sizing:border-box;
    margin-top: 40px;
    height:-300px;
    padding-left: 250px;
    
  }


  /* ---- Form column ---- */
  .form-box{
   border: 2px solid black;
  flex:1 1 350px;
    background:white;
    padding:2rem;
    border-radius:8px;
    box-shadow:0 6px 12px rgba(0,0,0,0.07);
  }
  .form-box h2{
  
    margin-bottom:1.5rem;
    font-size:22px;
    text-align:center;
    background-color: #303030;
    padding: 10px;
    color: white;
    margin-top: -55px;
    z-index: 2;
    border-radius: 10px;
    
    
  }

  /* ---- Form fields ---- */
  .form-group{
    margin-bottom:1rem;
    display:flex;
    flex-direction:column;
  }
  .form-group label{
    margin-bottom:0.25rem;
    font-weight:600;
  }
  .form-group input,
  .form-group select,
  .form-group textarea{
    padding:0.65rem 0.75rem;
    border:1px solid #ced4da;
    border-radius:4px;
    font-size:1rem;
  }


    
    

    

  .form-group textarea{ resize:vertical; min-height:120px; }

  /* ---- Submit button ---- */
  .form-box button{
    width:150px;
    padding:0.75rem 1rem;
    font-size:1rem;
    font-weight:600;
    color:#fff;
    background: #303030;
    border:none;
    border-radius:4px;
    cursor:pointer;
    transition:background 0.2s ease;
    align-items: left;
    margin-left: 28px;
    margin-top: 10px;
  }
  .form-box button:hover{
    background:white;
    border: 2px solid black;
    color:black;

  }
  .captcha-row{
    margin-top: 30px;
    margin-bottom: 20px;
  }
    .captcha-row label{
      padding-left: 28px;
    }
      .captcha-row input{
        margin-top: 10px;
       padding: 6px;
       margin-left: 28px;
       width: 200px;

        

      }


  /* ---- Mobile tweaks ---- */
  @media(max-width:768px){
    .contact-wrapper{ gap:1rem; }
    .form-box{ padding:1.5rem 1rem; }
  }

               footer {
      background-color: #090909;
      color: #fff;
      padding: 40px 20px;
      margin-top: 60px;

    }

    .footer-container {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      max-width: 100%;
      padding:30px;
    }

    .footer-column {
      flex: 1;
      min-width: 200px;
      margin: 10px;
      padding-left:70px;
    
      

    }

    .footer-column h3 {
      margin-bottom: 20px;
      font-size: 25px;
     
      padding-bottom: 5px;
    }
    .footer-column p { 
      
     width:250px;
     line-height:1.5;
}
      
      .footer-column ul {
      list-style: none;
    }

    .footer-column ul li {
      margin-bottom: 10px;
    }

    .footer-column ul li a {
      color: #ccc;
      text-decoration: none;
      transition: color 0.3s;
    }

    .footer-column ul li a:hover {
      color: #fff;
    }

    .social-icons a {
      display: inline-block;
      margin-right: 10px;
      color: #ffffff;
      font-size: 20px;
      transition: color 0.3s;
    }

    .social-icons a:hover {
      color: #fff;
    }

    .footer-bottom {
      text-align: center;
      margin-top: 20px;
      font-size: 14px;
      color: #888;
    }

    @media (max-width: 768px) {
      .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      .footer-column {
        margin: 20px 0;
      }
    }




